package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: sovy
 * @date: 2020/12/3
 * @description: 服务器路径
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "f_server_path")
public class ServerPath implements Serializable {
    /**
     * id
     */
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    /**
     * 服务器id
     */
    @TableField(value = "intServerId")
    private Integer serverId;

    /**
     * 服务器路径地址
     */
    @TableField(value = "vcPath")
    private String path;

    /**
     * 路径总申请空间大小(KB)
     */
    @TableField(value = "douSpace")
    private Double space;

    /**
     * 路径已使用空间大小(KB)
     */
    @TableField(value = "douUsedSpace")
    private Double usedSpace;

    private static final long serialVersionUID = 1L;
}